﻿@model IList<RBS.Web.Hotel.Models.Dine.CookDishViewModel>


<table width="100%" border="0" cellspacing="0" cellpadding="0" class="ltable">
    <tr>
        <th align="center">序号</th>
        <th align="center">ID</th>
        <th align="center">菜谱ID</th>
        <th align="center">菜名</th>
        <th align="center">状态</th>
        <th align="center">订单号</th>
        <th align="center">餐桌</th>
        <th align="center">厨师</th>
        <th align="center">订单确认时间</th>
        <th align="center" width="10%">操作</th>
    </tr>
    @if (Model != null && Model.Any())
    {
        var index = 1;
        foreach (var item in Model)
        {
        <tr>
            <td align="center">@index</td>
            <td align="center">@item.Id</td>
            <td align="center">@item.DishId</td>
            <td align="center">@item.DishName</td>
            <td align="center">@item.DishState</td>
            <td align="center">@item.OrderId</td>
            <td align="center">@item.DineTable</td>
            <td align="center">@item.CookChef</td>
            <td align="center">@item.OrderConfirmTime.ToString("yyyy-MM-dd")</td>
            <td align="center"><a href="javascript:speedDish('@item.DishId')">催菜</a></td>
        </tr>
            index++;
        }
    }
</table>


<script type="text/javascript">

    

</script>